package com.ruoyi.pg.evaluate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.pg.evaluate.domain.PgAssessment;
import com.ruoyi.pg.evaluate.vo.PgAssessmentVo;

import java.util.List;

/**
 * 评估Service接口
 *
 * @author Ming
 * @date 2025-08-22
 */
public interface IPgAssessmentService extends IService<PgAssessment> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<PgAssessmentVo> queryList(PgAssessmentVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<PgAssessmentVo> queryAll(PgAssessmentVo entity);

    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    PgAssessmentVo queryById(Long id);

    /**
     * 添加评估
     *
     * @param entity
     * @return
     */
    boolean insertAssessment(PgAssessmentVo entity);

    /**
     * 导出能力等级评估报告
     *
     * @param entity
     */
    void exportToWord(PgAssessmentVo entity);
}
